package com.see.network.impl;

import com.google.inject.Binder;
import com.google.inject.Module;
import com.google.inject.Scopes;
import com.see.network.api.StaticDataUpdator;
import com.see.network.api.StockDetailParser;

public class NetworkModule implements Module {

    @Override
    public void configure(Binder binder) {
        binder.bind(StaticDataUpdator.class).to(StaticDataUpdatorImpl.class).in(Scopes.SINGLETON);
        binder.bind(StockDetailParser.class).to(StockDetailGoogleFinaceParserImpl.class).in(Scopes.SINGLETON);
    }

}
